<!DOCTYPE html>
<html lang="en"  xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .main{
            display: flex;
            align-content: center;
            text-align: center;
        }
    </style>
</head>
<body>

    <h2>欢迎，[[${session.loginUser}]]</h2>
    <div class="main">

        <ul>
            <li th:each="emp:${emps}" th:text="${emp}"></li>
        </ul>

    </div>

</body>
</html>